package com.newtouch.cq.base.starter.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统角色和菜单的关系表
 * </p>
 *
 * @author Alex
 * @since 2021-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SysRoleMenu对象", description = "系统角色和菜单的关系表")
public class SysRoleMenu implements Serializable {


    @ApiModelProperty(value = "唯一标识")
    private Long id;

    @ApiModelProperty(value = "角色标识")
    @TableField("role_id")
    private Long roleId;

    @ApiModelProperty(value = "菜单标识")
    @TableField("menu_id")
    private Long menuId;


}
